#!/bin/bash

source install/setup.bash

export FASTRTPS_DEFAULT_PROFILES_FILE=./dds_config/config/dds_profile.xml
export FASTDDS_LOG_LEVEL=Trace
export FASTDDS_LOG_VERBOSITY=info
export FASTDDS_LOG_CONSUMER=stdout

ros2 run dds_demo dds_demo
ros2 run demo_nodes_cpp talker
ros2 run demo_nodes_cpp listener

ros2 topic pub /chatter std_msgs/msg/Int 1
ros2 topic echo /chatter